package com.lucy.nepu.module.taward.event;

import com.lucy.nepu.module.htopic.entity.HorTopic;
import com.lucy.nepu.module.taward.entity.TAward;
import lombok.Getter;
import org.springframework.context.ApplicationEvent;

import java.time.Clock;

@Getter
public class TAwardCreatedEvent extends ApplicationEvent {
    TAward award;
    public TAwardCreatedEvent(Object source, TAward award) {
        super(source);
        this.award = award;
    }

    public TAwardCreatedEvent(Object source, Clock clock) {
        super(source, clock);
    }
}
